package com.junhong.action;

import javax.annotation.Resource;

import com.junhong.entity.Student;
import com.junhong.service.StudentService;

public class StudentDeleteAction {
	private Integer id;

	@Resource
	private StudentService studentService;
	public void delete() {
		Student student = new Student(id, null, null, null, null, null, null);
		studentService.delete(student);
	} 
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}
	
	
}
